package com.example.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName menu
 */
@TableName(value ="menu")
@Data
public class Menu implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String path;

    /**
     * 
     */
    private String redirect;

    private String component;
    /**
     * 
     */
    private String metaTitle;

    /**
     * 
     */
    private String metaIcon;

    private String metaActive;

    private Boolean metaIsLink;

    private Boolean metaIsHide;

    private Boolean metaIsFull;

    private Boolean metaIsAffix;

    private Boolean metaIsKeepAlive;

    private String metaTag;


    /**
     * 
     */
    private Long parentId;

    @TableField(exist = false)
    private List<Menu> children;

    @TableField(exist = false)
    private MetaProps meta;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}